package com.dashu.base.enums.common.functionAM;

import java.util.HashMap;
import java.util.Map;

public enum PersonnelAM {

    PERSONNEL_TEACHER("教师管理", "people/teacher","teacher",""),
    PERSONNEL_STUDENT("学生管理", "people/student","student",""),
    PERSONNEL_PARENT("家长管理", "people/parent","parent","");


    public String name;

    public String url;

    public String path;

    public String icon;


    PersonnelAM(String name, String url, String path, String icon) {
        this.name = name;
        this.url = url;
        this.path = path;
        this.icon = icon;
    }

    public static final Map<String, PersonnelAM> map = new HashMap<>();

    static {
        for (PersonnelAM s : PersonnelAM.values()) {
            map.put(s.name(), s);
        }
    }
}
